$bool = Date.IsValid (
"
<date>
"
)
Checks the validity of a given date.
Parameters
<date>
Any valid date expression in dd/mm/yyyy format.
Return Value
Returns
1
if date is valid, else returns
0
.
Example
$sdate = "35/16/2000" $ret = date.IsValid($sdate)
$ret
contains
0
.